package com.hwua.entity;

public class ShopingCartReal {
    private String img_source;
    private String pname;
    private Double price;
    private Double totalPrice;
    private int pnum;

    public ShopingCartReal() {
    }

    public ShopingCartReal(String img_source, String pname, Double price, Double totalPrice, int pnum) {
        this.img_source = img_source;
        this.pname = pname;
        this.price = price;
        this.totalPrice = totalPrice;
        this.pnum = pnum;
    }

    public String getImg_source() {
        return img_source;
    }

    public void setImg_source(String img_source) {
        this.img_source = img_source;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public int getPnum() {
        return pnum;
    }

    public void setPnum(int pnum) {
        this.pnum = pnum;
    }

    @Override
    public String toString() {
        return "ShopingCartReal{" +
                "img_source='" + img_source + '\'' +
                ", pname='" + pname + '\'' +
                ", price=" + price +
                ", totalPrice=" + totalPrice +
                ", pnum=" + pnum +
                '}';
    }
}
